<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: model/ipv4-dgr-routing-table-entry.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('db/db8/ipv4-dgr-routing-table-entry_8h_source.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">ipv4-dgr-routing-table-entry.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../db/db8/ipv4-dgr-routing-table-entry_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/* -*- Mode:C++; c-file-style:&quot;gnu&quot;; indent-tabs-mode:nil; -*- */</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#ifndef IPV4_DGR_ROUTING_TABLE_ENTRY_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#define IPV4_DGR_ROUTING_TABLE_ENTRY_H</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &lt;list&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="preprocessor">#include &lt;ostream&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &quot;ns3/ipv4-address.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d7/d2e/namespacens3.html">ns3</a> {</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">   19</a></span><span class="keyword">class </span><a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> {</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> ();</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> (<a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <span class="keyword">const</span> &amp;route);</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> (<a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <span class="keyword">const</span> *route);</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>  <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#aae4aa136bdffbf9f64f756fec615ecbb">IsHost</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>  <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a825aa473e191b77f4b1a4ca0329ce589">IsNetwork</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>  <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a6f7e61e1bc9f78bd06f1637ba6629cf0">IsDefault</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>  <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ace7333037444806516277fc945e43c69">IsGateway</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>  Ipv4Address <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a19708a359b875e0b8986ff99f80c159c">GetGateway</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>  Ipv4Address <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a69ebd01d00df5465ad4d720baf20aac5">GetDest</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>  Ipv4Address <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ab440baa28d8c334cf44b8e419c3227f4">GetDestNetwork</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>  Ipv4Mask <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a94dc61bd7b6b0688689a52536382a7b4">GetDestNetworkMask</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>  uint32_t <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a2b9549ad4a8d225b40c3f7dcd2c29c25">GetInterface</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>  uint32_t <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ad6b6cd8c1a98ab084553075f284de1b4">GetDistance</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>  uint32_t <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a327e4e2e11fd01986fc128e9ee8e90bc">GetNextInterface</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>  <span class="keyword">static</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a757bd4b15ca66094c58f9c8045b24015">CreateHostRouteTo</a> (Ipv4Address dest, </div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>                                                  Ipv4Address nextHop,</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>                                                  uint32_t interface);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>  <span class="keyword">static</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a757bd4b15ca66094c58f9c8045b24015">CreateHostRouteTo</a> (Ipv4Address dest, </div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>                                                  uint32_t interface);</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>  <span class="keyword">static</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a757bd4b15ca66094c58f9c8045b24015">CreateHostRouteTo</a> (Ipv4Address dest, </div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>                                                  Ipv4Address nextHop,</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>                                                  uint32_t interface,</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>                                                  uint32_t nextInterface,</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>                                                  uint32_t distance);</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>  <span class="keyword">static</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ac251919954195223794f62f921d9708b">CreateNetworkRouteTo</a> (Ipv4Address network, </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span>                                                     Ipv4Mask networkMask,</div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span>                                                     Ipv4Address nextHop,</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>                                                     uint32_t interface);</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>  <span class="keyword">static</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ac251919954195223794f62f921d9708b">CreateNetworkRouteTo</a> (Ipv4Address network, </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>                                                     Ipv4Mask networkMask,</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>                                                     uint32_t interface);</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span>  <span class="keyword">static</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a22ea568034b4a90eec3ed464dc829809">CreateDefaultRoute</a> (Ipv4Address nextHop, </div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno">  140</span>                                                   uint32_t interface);</div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno">  141</span> </div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> (Ipv4Address network,</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>                         Ipv4Mask mask,</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>                         Ipv4Address gateway,</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>                         uint32_t interface);</div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> (Ipv4Address dest,</div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno">  161</span>                         Ipv4Mask mask,</div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno">  162</span>                         uint32_t interface);</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> (Ipv4Address dest,</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>                         Ipv4Address gateway,</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>                         uint32_t interface);</div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> (Ipv4Address dest,</div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>                         uint32_t interface);</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>  </div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span>  <a class="code hl_function" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">Ipv4DGRRoutingTableEntry</a> (Ipv4Address dest,</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno">  189</span>                         Ipv4Address gateway,</div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno">  190</span>                         uint32_t interface,</div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>                         uint32_t nextInterface,</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>                         uint32_t distance);</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a83f300dcc9098cf426a1d3578ee270a6">  194</a></span>  Ipv4Address <a class="code hl_variable" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a83f300dcc9098cf426a1d3578ee270a6">m_dest</a>;         </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a0e259e9a9de7934e536226ece9ec73d6">  195</a></span>  Ipv4Mask <a class="code hl_variable" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a0e259e9a9de7934e536226ece9ec73d6">m_destNetworkMask</a>; </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a436f0a10e8074828b5dbc54b2100c7b8">  196</a></span>  Ipv4Address <a class="code hl_variable" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a436f0a10e8074828b5dbc54b2100c7b8">m_gateway</a>;      </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#af52773f5998ee60462a7a3c4815f5aa3">  197</a></span>  uint32_t <a class="code hl_variable" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#af52773f5998ee60462a7a3c4815f5aa3">m_interface</a>;       </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a8f17a3a13464b14f862a92702be6fbd1">  198</a></span>  uint32_t <a class="code hl_variable" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a8f17a3a13464b14f862a92702be6fbd1">m_nextInterface</a>;    </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"><a class="line" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a0bb39e5764002439e5d2cbb2540f6471">  199</a></span>  uint32_t <a class="code hl_variable" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a0bb39e5764002439e5d2cbb2540f6471">m_distance</a>;        </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>};</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span> </div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span>std::ostream&amp; <a class="code hl_function" href="../../d7/d2e/namespacens3.html#a7c0f3fcc4f4363c5458911cded1af4b6">operator&lt;&lt; </a>(std::ostream&amp; os, <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> <span class="keyword">const</span>&amp; route);</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span> </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span><span class="keywordtype">bool</span> <a class="code hl_function" href="../../d7/d2e/namespacens3.html#a31be9c355502d5d92cd252ad21233aeb">operator== </a>(<span class="keyword">const</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> a, <span class="keyword">const</span> <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> b);</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span> </div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span>} <span class="comment">// namespace ns3</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span> </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span><span class="preprocessor">#endif </span><span class="comment">/* IPV4_DSR_ROUTING_TABLE_ENTRY_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">ns3::Ipv4DGRRoutingTableEntry</a></div><div class="ttdoc">A record of an IPv4 routing table entry for Ipv4GlobalRouting and Ipv4StaticRouting.</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00019">ipv4-dgr-routing-table-entry.h:19</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a08c459157d5b8556f84e72cc5b1598eb"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a08c459157d5b8556f84e72cc5b1598eb">ns3::Ipv4DGRRoutingTableEntry::Ipv4DGRRoutingTableEntry</a></div><div class="ttdeci">Ipv4DGRRoutingTableEntry()</div><div class="ttdoc">This constructor does nothing.</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00016">ipv4-dgr-routing-table-entry.cc:16</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a0bb39e5764002439e5d2cbb2540f6471"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a0bb39e5764002439e5d2cbb2540f6471">ns3::Ipv4DGRRoutingTableEntry::m_distance</a></div><div class="ttdeci">uint32_t m_distance</div><div class="ttdoc">the distance between root and destination</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00199">ipv4-dgr-routing-table-entry.h:199</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a0e259e9a9de7934e536226ece9ec73d6"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a0e259e9a9de7934e536226ece9ec73d6">ns3::Ipv4DGRRoutingTableEntry::m_destNetworkMask</a></div><div class="ttdeci">Ipv4Mask m_destNetworkMask</div><div class="ttdoc">destination network mask</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00195">ipv4-dgr-routing-table-entry.h:195</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a19708a359b875e0b8986ff99f80c159c"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a19708a359b875e0b8986ff99f80c159c">ns3::Ipv4DGRRoutingTableEntry::GetGateway</a></div><div class="ttdeci">Ipv4Address GetGateway(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00184">ipv4-dgr-routing-table-entry.cc:184</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a22ea568034b4a90eec3ed464dc829809"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a22ea568034b4a90eec3ed464dc829809">ns3::Ipv4DGRRoutingTableEntry::CreateDefaultRoute</a></div><div class="ttdeci">static Ipv4DGRRoutingTableEntry CreateDefaultRoute(Ipv4Address nextHop, uint32_t interface)</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00263">ipv4-dgr-routing-table-entry.cc:263</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a2b9549ad4a8d225b40c3f7dcd2c29c25"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a2b9549ad4a8d225b40c3f7dcd2c29c25">ns3::Ipv4DGRRoutingTableEntry::GetInterface</a></div><div class="ttdeci">uint32_t GetInterface(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00191">ipv4-dgr-routing-table-entry.cc:191</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a327e4e2e11fd01986fc128e9ee8e90bc"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a327e4e2e11fd01986fc128e9ee8e90bc">ns3::Ipv4DGRRoutingTableEntry::GetNextInterface</a></div><div class="ttdeci">uint32_t GetNextInterface(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00198">ipv4-dgr-routing-table-entry.cc:198</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a436f0a10e8074828b5dbc54b2100c7b8"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a436f0a10e8074828b5dbc54b2100c7b8">ns3::Ipv4DGRRoutingTableEntry::m_gateway</a></div><div class="ttdeci">Ipv4Address m_gateway</div><div class="ttdoc">gateway</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00196">ipv4-dgr-routing-table-entry.h:196</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a69ebd01d00df5465ad4d720baf20aac5"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a69ebd01d00df5465ad4d720baf20aac5">ns3::Ipv4DGRRoutingTableEntry::GetDest</a></div><div class="ttdeci">Ipv4Address GetDest(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00134">ipv4-dgr-routing-table-entry.cc:134</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a6f7e61e1bc9f78bd06f1637ba6629cf0"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a6f7e61e1bc9f78bd06f1637ba6629cf0">ns3::Ipv4DGRRoutingTableEntry::IsDefault</a></div><div class="ttdeci">bool IsDefault(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00146">ipv4-dgr-routing-table-entry.cc:146</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a757bd4b15ca66094c58f9c8045b24015"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a757bd4b15ca66094c58f9c8045b24015">ns3::Ipv4DGRRoutingTableEntry::CreateHostRouteTo</a></div><div class="ttdeci">static Ipv4DGRRoutingTableEntry CreateHostRouteTo(Ipv4Address dest, Ipv4Address nextHop, uint32_t interface)</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00212">ipv4-dgr-routing-table-entry.cc:212</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a825aa473e191b77f4b1a4ca0329ce589"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a825aa473e191b77f4b1a4ca0329ce589">ns3::Ipv4DGRRoutingTableEntry::IsNetwork</a></div><div class="ttdeci">bool IsNetwork(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00140">ipv4-dgr-routing-table-entry.cc:140</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a83f300dcc9098cf426a1d3578ee270a6"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a83f300dcc9098cf426a1d3578ee270a6">ns3::Ipv4DGRRoutingTableEntry::m_dest</a></div><div class="ttdeci">Ipv4Address m_dest</div><div class="ttdoc">destination address</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00194">ipv4-dgr-routing-table-entry.h:194</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a8f17a3a13464b14f862a92702be6fbd1"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a8f17a3a13464b14f862a92702be6fbd1">ns3::Ipv4DGRRoutingTableEntry::m_nextInterface</a></div><div class="ttdeci">uint32_t m_nextInterface</div><div class="ttdoc">output interface in next hop</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00198">ipv4-dgr-routing-table-entry.h:198</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_a94dc61bd7b6b0688689a52536382a7b4"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#a94dc61bd7b6b0688689a52536382a7b4">ns3::Ipv4DGRRoutingTableEntry::GetDestNetworkMask</a></div><div class="ttdeci">Ipv4Mask GetDestNetworkMask(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00165">ipv4-dgr-routing-table-entry.cc:165</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_aae4aa136bdffbf9f64f756fec615ecbb"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#aae4aa136bdffbf9f64f756fec615ecbb">ns3::Ipv4DGRRoutingTableEntry::IsHost</a></div><div class="ttdeci">bool IsHost(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00121">ipv4-dgr-routing-table-entry.cc:121</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_ab440baa28d8c334cf44b8e419c3227f4"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ab440baa28d8c334cf44b8e419c3227f4">ns3::Ipv4DGRRoutingTableEntry::GetDestNetwork</a></div><div class="ttdeci">Ipv4Address GetDestNetwork(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00159">ipv4-dgr-routing-table-entry.cc:159</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_ac251919954195223794f62f921d9708b"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ac251919954195223794f62f921d9708b">ns3::Ipv4DGRRoutingTableEntry::CreateNetworkRouteTo</a></div><div class="ttdeci">static Ipv4DGRRoutingTableEntry CreateNetworkRouteTo(Ipv4Address network, Ipv4Mask networkMask, Ipv4Address nextHop, uint32_t interface)</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00244">ipv4-dgr-routing-table-entry.cc:244</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_ace7333037444806516277fc945e43c69"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ace7333037444806516277fc945e43c69">ns3::Ipv4DGRRoutingTableEntry::IsGateway</a></div><div class="ttdeci">bool IsGateway(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00171">ipv4-dgr-routing-table-entry.cc:171</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_ad6b6cd8c1a98ab084553075f284de1b4"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#ad6b6cd8c1a98ab084553075f284de1b4">ns3::Ipv4DGRRoutingTableEntry::GetDistance</a></div><div class="ttdeci">uint32_t GetDistance(void) const</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00205">ipv4-dgr-routing-table-entry.cc:205</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html_af52773f5998ee60462a7a3c4815f5aa3"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html#af52773f5998ee60462a7a3c4815f5aa3">ns3::Ipv4DGRRoutingTableEntry::m_interface</a></div><div class="ttdeci">uint32_t m_interface</div><div class="ttdoc">output interface</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00197">ipv4-dgr-routing-table-entry.h:197</a></div></div>
<div class="ttc" id="anamespacens3_html"><div class="ttname"><a href="../../d7/d2e/namespacens3.html">ns3</a></div><div class="ttdef"><b>Definition</b> <a href="../../d5/d65/dgr-application-helper_8cc_source.html#l00027">dgr-application-helper.cc:27</a></div></div>
<div class="ttc" id="anamespacens3_html_a31be9c355502d5d92cd252ad21233aeb"><div class="ttname"><a href="../../d7/d2e/namespacens3.html#a31be9c355502d5d92cd252ad21233aeb">ns3::operator==</a></div><div class="ttdeci">bool operator==(const Ipv4DGRRoutingTableEntry a, const Ipv4DGRRoutingTableEntry b)</div><div class="ttdoc">Equality operator.</div><div class="ttdef"><b>Definition</b> <a href="../../dc/d27/ipv4-dgr-routing-table-entry_8cc_source.html#l00315">ipv4-dgr-routing-table-entry.cc:315</a></div></div>
<div class="ttc" id="anamespacens3_html_a7c0f3fcc4f4363c5458911cded1af4b6"><div class="ttname"><a href="../../d7/d2e/namespacens3.html#a7c0f3fcc4f4363c5458911cded1af4b6">ns3::operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const DGRVertex::VertexType &amp;t)</div><div class="ttdoc">Stream insertion operator.</div><div class="ttdef"><b>Definition</b> <a href="../../da/d53/dgr-candidate-queue_8cc_source.html#l00037">dgr-candidate-queue.cc:38</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_3f14f6767c31cb4a1d22c13c18cc6fc3.html">model</a></li><li class="navelem"><a class="el" href="../../db/db8/ipv4-dgr-routing-table-entry_8h.html">ipv4-dgr-routing-table-entry.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
